function[pos]=setuniformpixpos()
% pos(1,1)=0;
% pos(1,2)=fix(710/2);
% pos(2,1)=fix(1250/2);
% pos(2,2)=0;
% pos(3,1)=1250;
% pos(3,2)=0;
% pos(4,1)=0;
% pos(4,2)=710;
% pos(5,1)=fix(1250/2);
% pos(5,2)=710;
% pos(6,1)=1250;
% pos(6,2)=fix(710/2);
% 
%
pos=zeros(8,2);
% pos(1,1)=1;
% pos(1,2)=1;
% pos(2,1)=fix(1250/2);
% pos(2,2)=1;
% pos(3,1)=1250;
% pos(3,2)=1;
% pos(4,1)=1;
% pos(4,2)=fix(710/2);
% pos(5,1)=fix(1250/2);
% pos(5,2)=fix(710/2);
% pos(6,1)=1250;
% pos(6,2)=fix(710/2);
% pos(7,1)=1;
% pos(7,2)=710;
% pos(8,1)=fix(1250/2);
% pos(8,2)=710;
% pos(9,1)=1250;
% pos(9,2)=710;

% for i = 1 : 3
%     for j = 1 : 3
%         pos((i-1) * 3 + j, 1) = fix(rand() * 1250 / 3) + 1 + 1250 * (i-1)/3;
%         pos((i-1) * 3 + j, 2) = fix(rand() * 710 / 3) + 1 + 710 * (j-1)/3;
%     end
% end

% for i = 1 : 4
%     for j = 1 : 2
%         pos((i-1) * 2 + j, 1) = fix(rand() * 1250 / 4) + 1 + 1250 * (i-1) / 4;
%         pos((i-1) * 2 + j, 2) = fix(rand() * 710 / 2) + 1 + 710 * (j-1) / 2;
%     end
% end

for i = 1 : 4
    for j = 1 : 2
        pos((i-1) * 2 + j, 1) = fix(rand() * 800 / 4) + 1 + 800 * (i-1) / 4 + 225;
        pos((i-1) * 2 + j, 2) = fix(rand() * 400 / 2) + 1 + 400 * (j-1) / 2 + 155;
    end
end